//
//  WSLVideoViewController.m
//  ShreddedBread
//
//  Created by lanou3g on 16/8/16.
//  Copyright © 2016年 云之君兮鹏. All rights reserved.
//

#import "WSLVideoViewController.h"
#import "WSLVideoTabVC.h"

@interface WSLVideoViewController ()
@property(weak,nonatomic) UIButton *selectedButton; //被选中的按钮


@end

@implementation WSLVideoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    初始化子控制器
    [self setupChildVces];


}

#pragma mark ------>> 初始化子控制器 <<------
-(void)setupChildVces{
    
    WSLVideoTabVC *BaiSi = [[WSLVideoTabVC alloc]init];
    BaiSi.title = @"百思";
    [self addChildViewController:BaiSi];
    
    WSLVideoTabVC *BaoZou = [[WSLVideoTabVC alloc]init];
    BaoZou.title = @"暴走";
    [self addChildViewController:BaoZou];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
